import jwt

encode_jwt = jwt.encode({'uid':"13"},'123',algorithm='HS256')


decode_str = str(encode_jwt.decode('utf-8'))
decode_jwt = jwt.decode(decode_str,'123')

